<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">    
    <meta name="description" content="GN Seguros, Sua corretora de seguros">
    <meta name="abstract" content="GN Seguros, Sua corretora de seguros">
    <meta name="author" content="Site Invocado">
	<meta name="reply-to" content="siteinvocado@gmail.com">
	<meta name="revised" content="30/12/2014" />
	<meta name="keywords" content="GN Seguros, Sua corretora de seguros, site invocado, seguro, corretora, corretor, gnseguro, siteinvocado">
	<meta name="ROBOT" content="Index,Follow">

    <title>GN Seguros - Administração do Site</title>

    <!-- Bootstrap Core CSS -->
    <link href="<?php echo base_url();?>css/bootstrap.min.css" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="<?php echo base_url();?>css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="<?php echo base_url();?>css/sb-admin-2.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="<?php echo base_url();?>font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
            
     			 
            
                <div class="login-panel panel panel-default text-center">
                <img src="<?php echo base_url();?>images/gn_logo.png" style="height: 100px;">
               
                    <div class="panel-heading">
                        <h3 class="panel-title">Login</h3>
                    </div>
                    <div class="panel-body">
                    
                 	
                        <form role="form" action="<?php echo $form_action;?>" method="post">
                            <fieldset>
                                <div class="form-group">
                                    <input type="email" class="form-control" placeholder="E-mail" name="email" autofocus required>
                                </div>
                                <div class="form-group">
                                    <input type="password" class="form-control" placeholder="Senha" name="password" value="" required>
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                
                                <button type="submit" class="btn btn-lg btn-success btn-block" >Entrar</button>
 
                                <a href="<?php echo site_url('login/nova_senha'); ?>" class="btn btn-lg btn-primary btn-block">Esqueci a senha</a>
                                 
                                  <?php 
							    	if(validation_errors() != ''){
										echo '<p><div class="alert alert-warning" role="alert">';
										echo form_error('email');
										echo form_error('password');
										echo '</div></p>';
									}
									
									if(isset($alerta)){
										echo '<p><div class="alert alert-danger" role="alert">';
										echo $alerta;
										echo '</div></p>';
									}
								?>
						
                            </fieldset>
                        </form>
                        
                        
                        
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- jQuery -->
    <script src="<?php echo base_url();?>js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="<?php echo base_url();?>js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="<?php echo base_url();?>js/plugins/metisMenu/metisMenu.min.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="<?php echo base_url();?>js/sb-admin-2.js"></script>

</body>

</html>
